import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
import autoRoute from './auto'
const routes: Array<RouteRecordRaw> = [
  {
    path: '/',
    name: 'home',
    component: () => import(('../views/index.vue'))
  },
  ...autoRoute

]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
